/*
 *  Copyright (c)  2016-NOW  Jacars Co.Ltd.
 *  All rights reserved.
 */
package com.jacars.biz.user.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jacars.biz.user.dao.model.JsptTenant;
import com.jacars.common.service.ISuperService;

/**
 * 服务类
 *
 * @author Chill
 */
public interface TenantService {

	/**
	 * 根据租户编号获取实体
	 *
	 * @param tenantId
	 * @return
	 */
	JsptTenant getByTenantId(String tenantId);

	/**
	 * 新增
	 *
	 * @param jsptTenant
	 * @return
	 */
	boolean saveTenant(JsptTenant jsptTenant);

}
